package com.fivefu.core.skyeye.event.services;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.fivefu.core.skyeye.event.vo.EventImageBean;

import java.util.List;

public interface RedisStreamService {

    /**
     * 解析案卷信息
     * @param sceneCode 场景标识
     * @param eventObj
     */
    boolean handleMimirEventInfo(String sceneCode,JSONObject eventObj);

    /**
     * 解析案卷图片
     * @param imgArray
     * @return
     */
    List<EventImageBean> analyEventImages(JSONArray imgArray);

    /**
     * 解析案卷图片
     * @param imgObj
     * @return
     */
    EventImageBean analyEventImage(JSONObject imgObj);

}
